The Touch class has two read-only properties to help you determine if the operating system is capable of supporting touch, and to determine if there is a touch device available.
- Use the Touch.DoesOperatingSystemSupport property to query whether the operating system is capable of touch support.
- Use the Touch.IsDeviceAvailable property to query whether there is a touch device connected to the computer system.